package com.yc.damai.bean;

/**
 * 实体类 对应数据库的表， 必须实现Serializable接口
 */
// category
public class Category implements java.io.Serializable {
	
	/**
	 * 序列化版本编号
	 */
	private static final long serialVersionUID = 1L;
	
	private Long cid;
	private String cname;
	
	public Long getCid() {
		return cid;
	}
	public void setCid(Long cid) {
		this.cid = cid;
	}
	public String getCname() {
		return cname;
	}
	public void setCname(String cname) {
		this.cname = cname;
	}
	@Override
	public String toString() {
		return "Category [cid=" + cid + ", cname=" + cname + "]";
	}

}
